package com.maybach.common.model;

import org.apache.commons.lang.builder.ReflectionToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

import java.io.Serializable;
import java.util.Date;

public class UserMsgDO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * This field corresponds to the database column b2b_user_msg.id
     */
    private Long id;

    /**
     * This field corresponds to the database column b2b_user_msg.user_id
     */
    private Long userId;

    /**
     * This field corresponds to the database column b2b_user_msg.msg_type
     */
    private String msgType;

    /**
     * This field corresponds to the database column b2b_user_msg.title
     */
    private String title;

    /**
     * This field corresponds to the database column b2b_user_msg.content
     */
    private String content;

    /**
     * This field corresponds to the database column b2b_user_msg.action
     */
    private String action;

    /**
     * This field corresponds to the database column b2b_user_msg.attributes
     */
    private String attributes;

    /**
     * This field corresponds to the database column b2b_user_msg.status
     */
    private Integer status;

    /**
     * This field corresponds to the database column b2b_user_msg.gmt_create
     */
    private Date gmtCreate;

    /**
     * This field corresponds to the database column b2b_user_msg.gmt_modified
     */
    private Date gmtModified;

    /**
     * This field corresponds to the database column b2b_user_msg.order_no
     */
    private String orderNo;

    /**
     * This field corresponds to the database column b2b_user_msg.order_name
     */
    private String orderName;

    /**
     * This field corresponds to the database column b2b_user_msg.order_id
     */
    private Long orderId;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public String getMsgType() {
		return msgType;
	}

	public void setMsgType(String msgType) {
		this.msgType = msgType;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getAction() {
		return action;
	}

	public void setAction(String action) {
		this.action = action;
	}

	public String getAttributes() {
		return attributes;
	}

	public void setAttributes(String attributes) {
		this.attributes = attributes;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Date getGmtCreate() {
		return gmtCreate;
	}

	public void setGmtCreate(Date gmtCreate) {
		this.gmtCreate = gmtCreate;
	}

	public Date getGmtModified() {
		return gmtModified;
	}

	public void setGmtModified(Date gmtModified) {
		this.gmtModified = gmtModified;
	}

	public String getOrderNo() {
		return orderNo;
	}

	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo;
	}

	public String getOrderName() {
		return orderName;
	}

	public void setOrderName(String orderName) {
		this.orderName = orderName;
	}

	public Long getOrderId() {
		return orderId;
	}

	public void setOrderId(Long orderId) {
		this.orderId = orderId;
	}


    @Override
    public String toString(){
        return ReflectionToStringBuilder.toString(this, ToStringStyle.DEFAULT_STYLE);
    }
}